package com.carleasoft.mps.cms.business.repairs.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.carleasoft.mps.cms.business.repairs.bean.entity.RepairsGroup;
import com.carleasoft.mps.cms.business.repairs.bean.po.RepairsGroupAddOrEditPo;
import com.carleasoft.mps.cms.business.repairs.bean.po.RepairsGroupPageQueryPo;
import com.carleasoft.mps.cms.business.repairs.bean.po.SetDealPersonPo;
import com.carleasoft.mps.core.result.R;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Description: 维修组
 * @Author: fan
 */
public interface RepairsGroupService extends IService<RepairsGroup> {
    /**
     * 维修组成员-添加
     */
    boolean add( RepairsGroupAddOrEditPo repairsGroupAddOrEditPo);
    /**
     * 维修组成员-编辑
     */
    boolean edit( RepairsGroupAddOrEditPo repairsGroupAddOrEditPo);
    /**
     * 维修组成员-删除
     */
    boolean delete( RepairsGroup repairsGroup);
    /**
     * 维修组成员-分页
     */
    Page<RepairsGroup> pageQuery(RepairsGroupPageQueryPo repairsGroupPageQueryPo);
    List<RepairsGroup> selList( RepairsGroup repairsGroup);
    /**
     * 维修组成员-详情
     */
    RepairsGroup detail(RepairsGroup repairsGroup);
    /**
     * 设置各专业综合处理人
     */
    boolean setDealPerson(SetDealPersonPo setDealPersonPo);
    /**
     * 查询各专业综合处理人
     */
    SetDealPersonPo selDealPerson();
}
